package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `json:"username"`
	Password string `json:"password"`
}

type Blog struct {
	gorm.Model
	Title   string `json:"title"`
	Tag     string `json:"tag"`
	Img     string `json:"bolgImg"`
	Content string `json:"content" gorm:"type:text"`
}
